package com.landinfo.domain;

/**
 * 红外相机点位信息
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.*;

/**
 * 红外相机点位信息
 * Create by lzq
 * 2017-11-02
 */
@ApiModel(description = "红外相机点位信息 Create by lzq 2017-11-02")
@Entity
@Table(name = "camera_management")
public class CameraInfo implements Serializable {

//    @Id
//    @Column(name = "id", length = 36)
//    @GeneratedValue(generator = "system-uuid")
//    @GenericGenerator(name = "system-uuid", strategy = "uuid2")
//    @GeneratedValue(strategy=GenerationType.IDENTITY)
//    @Id
//    private Integer id;


    /**
     * 位点编号
     */
    @Id
    @ApiModelProperty(value = "位点编号")
    @Column(name = "位点编号")
    private String pointNo;


    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    @Column(name = "编号")
    private String no;





    /**
     * 小地名
     */
    @ApiModelProperty(value = "小地名")
    @Column(name = "小地名")
    private String smallPlace;


    /**
     * 方格编号
     */
    @ApiModelProperty(value = "方格编号")
    @Column(name = "方格编号")
    private String gridNo;

    /**
     * 历史位点编号
     */
    @ApiModelProperty(value = "历史位点编号")
    @Column(name = "历史位点编号")
    private String historyPointNo;

    /**
     * 有效工作日
     */
    @ApiModelProperty(value = "有效工作日")
    @Column(name = "有效工作日")
    private String effectiveWorkday;

    /**
     * 参加人员1
     */
    @ApiModelProperty(value = "参加人员1")
    @Column(name = "参加人员1")
    private String participant1;


    /**
     * 经度
     */
    @ApiModelProperty(value = "东经")
    @Column(name = "东经")
    private double longitude;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "北纬")
    @Column(name = "北纬")
    private double latitude;

    /**
     * 海拔
     */
    @ApiModelProperty(value = "海拔")
    @Column(name = "海拔")
    private double altitude;

    /**
     * 布设日期
     */
    @ApiModelProperty(value = "布设日期")
    @Column(name = "布设日期")
    private Date layDate;


    /**
     * 布设时间
     */
    @ApiModelProperty(value = "布设时间")
    @Column(name = "布设时间")
    private String layTime;


    /**
     * 相机编号
     */
    @ApiModelProperty(value = "相机编号")
    @Column(name = "相机编号")
    private String cameraNo;

    /**
     * 存储卡编号
     */
    @ApiModelProperty(value = "存储卡编号")
    @Column(name = "存储卡编号")
    private String storageCardNo;

    /**
     * 最后工作日I
     */
    @ApiModelProperty(value = "最后工作日I")
    @Column(name = "最后工作日I")
    private String lastWorkday1;

    /**
     * 相机编号I
     */
    @ApiModelProperty(value = "相机编号I")
    @Column(name = "相机编号I")
    private String cameraNo1;

    /**
     * 存储卡编号I
     */
    @ApiModelProperty(value = "存储卡编号I")
    @Column(name = "存储卡编号I")
    private String storageCard1No;

    /**
     * 收回日期
     */
    @ApiModelProperty(value = "收回日期")
    @Column(name = "收回日期")
    private Date withdrawalDate;


    /**
     * 收回时间
     */
    @ApiModelProperty(value = "收回时间")
    @Column(name = "收回时间")
    private String withdrawalTime;


    /**
     * 最后工作日II
     */
    @ApiModelProperty(value = "最后工作日II")
    @Column(name = "最后工作日II")
    private String lastWorkday2;

    /**
     * 检查日期
     */
    @ApiModelProperty(value = "检查日期")
    @Column(name = "检查日期")
    private Date checkDate;


    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间")
    @Column(name = "检查时间")
    private String checkTime;


    /**
     * 相机状态I
     */
    @ApiModelProperty(value = "相机状态I")
    @Column(name = "相机状态I")
    private String cameraState1;


    /**
     * 拍摄照片数I
     */
    @ApiModelProperty(value = "拍摄照片数I")
    @Column(name = "拍摄照片数I")
    private String NumberOfPhotos1;


    /**
     * 是否换电池
     */
    @ApiModelProperty(value = "是否换电池")
    @Column(name = "是否换电池")
    private String changeBatteries;


    /**
     * 相机状态II
     */
    @ApiModelProperty(value = "相机状态II")
    @Column(name = "相机状态II")
    private String cameraState2;


    /**
     * 拍摄照片数II
     */
    @ApiModelProperty(value = "拍摄照片数II")
    @Column(name = "拍摄照片数II")
    private String NumberOfPhotos2;


    /**
     * 坡位
     */
    @ApiModelProperty(value = "坡位")
    @Column(name = "坡位")
    private String slopePosition;


    /**
     * 坡向
     */
    @ApiModelProperty(value = "坡向")
    @Column(name = "坡向")
    private String aspect;


    /**
     * 坡度
     */
    @ApiModelProperty(value = "坡度")
    @Column(name = "坡度")
    private String slope;


    /**
     * 水源100m
     */
    @ApiModelProperty(value = "水源100m")
    @Column(name = "水源100m")
    private String water100m;


    /**
     * 植被类型
     */
    @ApiModelProperty(value = "植被类型")
    @Column(name = "植被类型")
    private String plantType;


    /**
     * 乔木高度
     */
    @ApiModelProperty(value = "乔木高度")
    @Column(name = "乔木高度")
    private String treeHeight;


    /**
     * 森林起源
     */
    @ApiModelProperty(value = "森林起源")
    @Column(name = "森林起源")
    private String forestOrigins;


    /**
     * 树种1
     */
    @ApiModelProperty(value = "树种1")
    @Column(name = "树种1")
    private String treeSpecies1;

    /**
     * 胸径1
     */
    @ApiModelProperty(value = "胸径1")
    @Column(name = "胸径1")
    private String dbh1;


    /**
     * 树种2
     */
    @ApiModelProperty(value = "树种2")
    @Column(name = "树种2")
    private String treeSpecies2;


    /**
     * 胸径2
     */
    @ApiModelProperty(value = "胸径2")
    @Column(name = "胸径2")
    private String dbh2;


    /**
     * 树种3
     */
    @ApiModelProperty(value = "树种3")
    @Column(name = "树种3")
    private String treeSpecies3;


    /**
     * 胸径3
     */
    @ApiModelProperty(value = "胸径3")
    @Column(name = "胸径3")
    private String dbh3;


    /**
     * 树种4
     */
    @ApiModelProperty(value = "树种4")
    @Column(name = "树种4")
    private String treeSpecies4;


    /**
     * 胸径4
     */
    @ApiModelProperty(value = "胸径4")
    @Column(name = "胸径4")
    private String dbh4;


    /**
     * 树种5
     */
    @ApiModelProperty(value = "树种5")
    @Column(name = "树种5")
    private String treeSpecies5;


    /**
     * 胸径5
     */
    @ApiModelProperty(value = "胸径5")
    @Column(name = "胸径5")
    private String dbh5;


    /**
     * 灌木高度
     */
    @ApiModelProperty(value = "灌木高度")
    @Column(name = "灌木高度")
    private String shrubHeight;

    /**
     * 灌木盖度
     */
    @ApiModelProperty(value = "灌木盖度")
    @Column(name = "灌木盖度")
    private String shrubCoverage;


    /**
     * 灌木类型
     */
    @ApiModelProperty(value = "灌木类型")
    @Column(name = "灌木类型")
    private String shrubType;


    /**
     * 草本层盖度
     */
    @ApiModelProperty(value = "草本层盖度")
    @Column(name = "草本层盖度")
    private String herbCoverage;



    /**
     * 草本层类型
     */
    @ApiModelProperty(value = "草本层类型")
    @Column(name = "草本层类型")
    private Double herbType;

//    public Integer getId() {
//        return id;
//    }
//
//    public void setId(Integer id) {
//        this.id = id;
//    }


//    @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
//    @JoinColumns(value={@JoinColumn(name="布设点位编号",referencedColumnName="位点编号")})
//    private Set<PhotoType> photoTypes = new LinkedHashSet<PhotoType>();


    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getPointNo() {
        return pointNo;
    }

    public void setPointNo(String pointNo) {
        this.pointNo = pointNo;
    }

    public String getSmallPlace() {
        return smallPlace;
    }

    public void setSmallPlace(String smallPlace) {
        this.smallPlace = smallPlace;
    }

    public String getGridNo() {
        return gridNo;
    }

    public void setGridNo(String gridNo) {
        this.gridNo = gridNo;
    }

    public String getHistoryPointNo() {
        return historyPointNo;
    }

    public void setHistoryPointNo(String historyPointNo) {
        this.historyPointNo = historyPointNo;
    }

    public String getEffectiveWorkday() {
        return effectiveWorkday;
    }

    public void setEffectiveWorkday(String effectiveWorkday) {
        this.effectiveWorkday = effectiveWorkday;
    }

    public String getParticipant1() {
        return participant1;
    }

    public void setParticipant1(String participant1) {
        this.participant1 = participant1;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public Date getLayDate() {
        return layDate;
    }

    public void setLayDate(Date layDate) {
        this.layDate = layDate;
    }

    public String getLayTime() {
        return layTime;
    }

    public void setLayTime(String layTime) {
        this.layTime = layTime;
    }

    public String getCameraNo() {
        return cameraNo;
    }

    public void setCameraNo(String cameraNo) {
        this.cameraNo = cameraNo;
    }

    public String getStorageCardNo() {
        return storageCardNo;
    }

    public void setStorageCardNo(String storageCardNo) {
        this.storageCardNo = storageCardNo;
    }

    public String getLastWorkday1() {
        return lastWorkday1;
    }

    public void setLastWorkday1(String lastWorkday1) {
        this.lastWorkday1 = lastWorkday1;
    }

    public String getCameraNo1() {
        return cameraNo1;
    }

    public void setCameraNo1(String cameraNo1) {
        this.cameraNo1 = cameraNo1;
    }

    public String getStorageCard1No() {
        return storageCard1No;
    }

    public void setStorageCard1No(String storageCard1No) {
        this.storageCard1No = storageCard1No;
    }

    public Date  getWithdrawalDate() {
        return withdrawalDate;
    }

    public void setWithdrawalDate(Date withdrawalDate) {
        this.withdrawalDate = withdrawalDate;
    }

    public String getWithdrawalTime() {
        return withdrawalTime;
    }

    public void setWithdrawalTime(String withdrawalTime) {
        this.withdrawalTime = withdrawalTime;
    }

    public String getLastWorkday2() {
        return lastWorkday2;
    }

    public void setLastWorkday2(String lastWorkday2) {
        this.lastWorkday2 = lastWorkday2;
    }

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getCameraState1() {
        return cameraState1;
    }

    public void setCameraState1(String cameraState1) {
        this.cameraState1 = cameraState1;
    }

    public String getNumberOfPhotos1() {
        return NumberOfPhotos1;
    }

    public void setNumberOfPhotos1(String numberOfPhotos1) {
        NumberOfPhotos1 = numberOfPhotos1;
    }

    public String getChangeBatteries() {
        return changeBatteries;
    }

    public void setChangeBatteries(String changeBatteries) {
        this.changeBatteries = changeBatteries;
    }

    public String getCameraState2() {
        return cameraState2;
    }

    public void setCameraState2(String cameraState2) {
        this.cameraState2 = cameraState2;
    }

    public String getNumberOfPhotos2() {
        return NumberOfPhotos2;
    }

    public void setNumberOfPhotos2(String numberOfPhotos2) {
        NumberOfPhotos2 = numberOfPhotos2;
    }

    public String getSlopePosition() {
        return slopePosition;
    }

    public void setSlopePosition(String slopePosition) {
        this.slopePosition = slopePosition;
    }

    public String getAspect() {
        return aspect;
    }

    public void setAspect(String aspect) {
        this.aspect = aspect;
    }

    public String getSlope() {
        return slope;
    }

    public void setSlope(String slope) {
        this.slope = slope;
    }

    public String getWater100m() {
        return water100m;
    }

    public void setWater100m(String water100m) {
        this.water100m = water100m;
    }

    public String getPlantType() {
        return plantType;
    }

    public void setPlantType(String plantType) {
        this.plantType = plantType;
    }

    public String getTreeHeight() {
        return treeHeight;
    }

    public void setTreeHeight(String treeHeight) {
        this.treeHeight = treeHeight;
    }

    public String getForestOrigins() {
        return forestOrigins;
    }

    public void setForestOrigins(String forestOrigins) {
        this.forestOrigins = forestOrigins;
    }

    public String getTreeSpecies1() {
        return treeSpecies1;
    }

    public void setTreeSpecies1(String treeSpecies1) {
        this.treeSpecies1 = treeSpecies1;
    }

    public String getDbh1() {
        return dbh1;
    }

    public void setDbh1(String dbh1) {
        this.dbh1 = dbh1;
    }

    public String getTreeSpecies2() {
        return treeSpecies2;
    }

    public void setTreeSpecies2(String treeSpecies2) {
        this.treeSpecies2 = treeSpecies2;
    }

    public String getDbh2() {
        return dbh2;
    }

    public void setDbh2(String dbh2) {
        this.dbh2 = dbh2;
    }

    public String getTreeSpecies3() {
        return treeSpecies3;
    }

    public void setTreeSpecies3(String treeSpecies3) {
        this.treeSpecies3 = treeSpecies3;
    }

    public String getDbh3() {
        return dbh3;
    }

    public void setDbh3(String dbh3) {
        this.dbh3 = dbh3;
    }

    public String getTreeSpecies4() {
        return treeSpecies4;
    }

    public void setTreeSpecies4(String treeSpecies4) {
        this.treeSpecies4 = treeSpecies4;
    }

    public String getDbh4() {
        return dbh4;
    }

    public void setDbh4(String dbh4) {
        this.dbh4 = dbh4;
    }

    public String getTreeSpecies5() {
        return treeSpecies5;
    }

    public void setTreeSpecies5(String treeSpecies5) {
        this.treeSpecies5 = treeSpecies5;
    }

    public String getDbh5() {
        return dbh5;
    }

    public void setDbh5(String dbh5) {
        this.dbh5 = dbh5;
    }

    public String getShrubHeight() {
        return shrubHeight;
    }

    public void setShrubHeight(String shrubHeight) {
        this.shrubHeight = shrubHeight;
    }

    public String getShrubCoverage() {
        return shrubCoverage;
    }

    public void setShrubCoverage(String shrubCoverage) {
        this.shrubCoverage = shrubCoverage;
    }

    public String getShrubType() {
        return shrubType;
    }

    public void setShrubType(String shrubType) {
        this.shrubType = shrubType;
    }

    public String getHerbCoverage() {
        return herbCoverage;
    }

    public void setHerbCoverage(String herbCoverage) {
        this.herbCoverage = herbCoverage;
    }

    public Double getHerbType() {
        return herbType;
    }

    public void setHerbType(Double herbType) {
        this.herbType = herbType;
    }


//    public Set<PhotoType> getPhotoTypes() {
//        return photoTypes;
//    }
//
//    public void setPhotoTypes(Set<PhotoType> photoTypes) {
//        this.photoTypes = photoTypes;
//    }
}
